﻿package com.codingbros 
{
	import flash.display.Sprite;
	
	import com.codingbros.particles.ParticleSystem;
	import com.codingbros.particles.ParticleFlowSystem;
	import com.codingbros.particles.ParticleGridSystem;
	
	[SWF( backgroundColor='0xffffff', width='800', height='200')]
	
	public class ParticlesTest extends Sprite
	{			
		public const FRAMERATE:int = 35;
		
		public const WIDTH:int = 800;
		public const HEIGHT:int = 200;
		
		private var particles:ParticleSystem;
		
		public function ParticlesTest() 
		{
			setupStage();
			
			particles = new ParticleGridSystem(WIDTH, HEIGHT);
			this.addChild(particles);
			particles.init();
			
		}
		
		private function setupStage():void 
		{
			stage.frameRate = FRAMERATE;
		}
		
	}
	
}